// pages/history/history.js
Page({

    /**
     * 页面的初始数据
     */
    data: {

    },
    onShareAppMessage: function (res) {
        let gbid = res.target.dataset.info.order_id;
        return {
          title: '分享',
          path: '/pages/history/hostory?tgid=' + gbid,
         
          success: function (res) {
           // 转发成功
                wx.showToast({
                  title: "分享成功",
                  icon: 'success',
                  duration: 2000
                })
           },
          fail: function (res) {
            // 分享失败
          },
        }
      },
    
})